package com.matt.domain.meeting;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/6/28
 * *******************************
 */
@Data
@Entity
@Table(name = "meeting_content")
@EqualsAndHashCode(callSuper = true)
public class MeetingContent extends Model {
    @Column(columnDefinition = " varchar(32) COMMENT '对应员工id'")
    private String uid;

    @Column(columnDefinition = " varchar(32) COMMENT '对应员工姓名'")
    private String uname;

    @Column(columnDefinition = " varchar(32) COMMENT '对应会议id'")
    private String mid;

    @Column(columnDefinition = " varchar(9016) COMMENT '会议内容'")
    private String content;

    @Column(columnDefinition = " varchar(9016) COMMENT '会议附件'")
    private String atta;

    @Column(columnDefinition = " bit DEFAULT 0 COMMENT '是否删除 0：否，1是'")
    private Boolean deleted =false;

    @Column(columnDefinition = "DEFAULT NOW() COMMENT '创建时间'")
    private Date createTime;
}
